﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="VMukti.Presentation.Controls.CtlModules"
	xmlns:VMuktiControls="clr-namespace:VMukti.Presentation.Controls"
	x:Name="ucModules" VerticalContentAlignment="Stretch"  HorizontalContentAlignment="Stretch" 
	Background="{DynamicResource Background}">


	<Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Name="grdMain" Background="{DynamicResource Background}">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Name="colDef1" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Name="rowDef1" Height="25"/>
			<RowDefinition Name="rowDef2" Height="0.6*"/>
			<RowDefinition Name="rowDef3" Height="*"/>
		</Grid.RowDefinitions>

		<Canvas Height="25" HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Background="{DynamicResource Title1}">
			<Rectangle Height="25" Width="25" Fill="{DynamicResource ImgModules}"/>
			<TextBlock Canvas.Left="25" IsEnabled="True" x:Name="tblkTitle" Width="Auto" Height="23" FontSize="12" FontWeight="SemiBold" Text="Modules" TextWrapping="NoWrap" HorizontalAlignment="Stretch" Padding="2,3,2,2" />
			<Button Name="btnClose" Height="17" Canvas.Top="4" Canvas.Right="1" Width="17" Content="X" Click="btnClose_Click"  FontSize="9" Focusable="False" FontWeight="Bold" IsCancel="True"/>
		</Canvas>
		<VMuktiControls:CtlLogin x:Name="objLogin" VerticalAlignment="Top" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="0" Background="{DynamicResource Background}" />

		<StackPanel Name="spContent" Grid.Row="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="0" Background="{DynamicResource Background}">
			<Expander Header="Page" Margin="0,0,0,0" IsExpanded="True" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="{DynamicResource Background}">
				<VMuktiControls:CtlExpanderContent x:Name="objExpConPage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
			</Expander>
			<Expander Background="{DynamicResource Background}" Header="Modules" IsExpanded="True" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch">
				<VMuktiControls:CtlExpanderContent x:Name="objExpConModules" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />			
			</Expander>
		</StackPanel>
	</Grid>

</UserControl>